import { NativeModules } from 'react-native';
const { RNAudioRecord } = NativeModules;

const AudioRecord = {};

AudioRecord.init = options => RNAudioRecord.init(options);
AudioRecord.start = () => RNAudioRecord.start();
AudioRecord.stop = () => RNAudioRecord.stop();


export default AudioRecord;
